// CredentialSharingGroup.cpp : implementation of the CApplication class
//

#include "stdafx.h"
#include "CredentialSharingGroup.h"

CCredentialSharingGroup::CCredentialSharingGroup()
{
	// TODO: add member initialization code here
	
}
CCredentialSharingGroup::~CCredentialSharingGroup()
{

}

GString CCredentialSharingGroup::GetId() const
{
	return m_id;
}
void CCredentialSharingGroup::SetId(GString nId)
{
	m_id=nId;
}
GString CCredentialSharingGroup::GetName() const
{
	return m_name;
}
void CCredentialSharingGroup::SetName(GString nName)
{
	m_name=nName;
}

GString CCredentialSharingGroup::GetDescription() const
{
	return m_description;
}
void CCredentialSharingGroup::SetDescription(GString nDescription)
{
	m_description=nDescription;
}
GString CCredentialSharingGroup::GetVersion() const
{
	return m_version;
}
void CCredentialSharingGroup::SetVersion(GString nVersion)
{
	m_version=nVersion;
}
bool CCredentialSharingGroup::GetIdentifier() const
{
	return m_identifier;
}
void CCredentialSharingGroup::SetIdentifier(bool nIdentifier)
{
	m_identifier=nIdentifier;
}

bool CCredentialSharingGroup::GetPassword() const
{
	return m_password;
}
void CCredentialSharingGroup::SetPassword(bool nPassword)
{
	m_password=nPassword;
}
bool CCredentialSharingGroup::GetThirdField() const
{
	return m_thirdField;
}
void CCredentialSharingGroup::SetThirdField(bool nThirdField)
{
	m_thirdField=nThirdField;
}

bool CCredentialSharingGroup::GetFourthField() const
{
	return m_fourthField;
}
void CCredentialSharingGroup::SetFourthField(bool nFourthField)
{
	m_fourthField=nFourthField;
}
void CCredentialSharingGroup::MapXMLTagsToMembers()
{
	MapAttribute(&m_id,"id");
	MapAttribute(&m_name,"name");
	MapAttribute(&m_version,"version");
	MapAttribute(&m_identifier,"iden");
	MapAttribute(&m_password,"pwd");
	MapAttribute(&m_thirdField,"third");
	MapAttribute(&m_fourthField,"fourth");
	MapMember(&m_description,"Description");
}
IMPLEMENT_FACTORY(CCredentialSharingGroup, CredentialSharingGroup);